﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace KingerRobot.PCRBW.Spi;

public interface ISlibeTableService
{
    /// <summary>
    /// 创建任务
    /// </summary>
    MesProductTask CreateTask(string equipName, int source_type);
    /// <summary>
    /// 任务执行
    /// </summary>
    int ExecuteTask(int taskNo, long locId);
    /// <summary>
    /// 任务完成
    /// </summary>
    int FinishTask(int taskNo);
    /// <summary>
    /// 清空产出信息及任务
    /// </summary>
    /// <param name="equipName"></param>
    /// <returns></returns>
    int DeleteTask(string equipName);
}
